/**
 * Created by Administrator on 2017/9/20.
 */
angular.module('module.news', [
        'service.news',
    ])

    .config(['$stateProvider', function ($stateProvider) {
        $stateProvider
            .state('newslist', {
                url: '/newslist',
                templateUrl: news_view_url + 'newslist.html',
                controller: 'NewsListController',
                controllerAs: 'vm'
            })
            .state('newsgroup', {
                url: '/newsgroup',
                templateUrl: news_view_url + 'news.html',
                controller: 'NewsGroupController',
                controllerAs: 'vm'
            })
    }]);